package com.chenqq.camerademo.camera.bean;

public class UsbDeviceInfo {
    public String usb_version;
    public String manufacturer;
    public String product;
    public String version;
    public String serial;

    public String getUsb_version() {
        return usb_version;
    }

    public void setUsb_version(String usb_version) {
        this.usb_version = usb_version;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    @Override
    public String toString() {
        return String.format("UsbDevice:usb_version=%s,manufacturer=%s,product=%s,version=%s,serial=%s",
                usb_version != null ? usb_version : "",
                manufacturer != null ? manufacturer : "",
                product != null ? product : "",
                version != null ? version : "",
                serial != null ? serial : "");
    }
}
